using System.Collections.Generic;

namespace WorkFlowCore.BusinessDemo.Web.Models
{
    public class AssignRolesViewModel
    {
        public int UserId { get; set; }
        public string UserName { get; set; }
        public List<RoleCheckboxItem> AvailableRoles { get; set; } = new List<RoleCheckboxItem>();

        public class RoleCheckboxItem
        {
            public int RoleId { get; set; }
            public string RoleName { get; set; }
            public bool IsSelected { get; set; }
        }
    }
}
